package app.modules.security.dto.web.permission;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * @author mh.z
 */
@Schema(title = "分配资源DTO")
public class WebAssignResourceDTO {
    @Schema(title = "权限ID")
    private Long permissionId;

    @Schema(title = "分配的资源ID列表")
    private List<Long> resourceIds;

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public List<Long> getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(List<Long> resourceIds) {
        this.resourceIds = resourceIds;
    }
}
